package com.iflytek.sbd.demo.hex;

import cn.hutool.core.util.HexUtil;
import com.iflytek.sbd.mybatis.UUIdGenId;
import org.bouncycastle.util.encoders.Hex;

import java.util.UUID;

/**
 * @program: sbd
 * @description:
 * @author: 陈亮
 * @create: 2022-03-01 23:42
 */
public class HexDemo {

    public static void main(String[] args) {

        String s = UUID.randomUUID().toString().replaceAll("(-)", "");
        System.out.println(s);
        String b="63fa99eacd7a4999a6e8fffe0c1655e2";
        System.out.println(HexUtil.toBigInteger(b));
    }
}
